package name.fowler.refactoring.simplestore;

public enum PriceCode {

    CHILDRENS(3, 1.5, 1.5, 1, 0, 0),
    NEW_RELEASE(0, 0, 3, 1, 1, 1),
    REGULAR(2, 2, 1.5, 1, 0, 0);

    private int includedDays;
    private double baseCost;
    private double costPerDay;
    private int baseBonus;
    private int extraBonusDays;
    private int extraBonus;

    PriceCode(int includedDays, double baseCost, double costPerDay,
              int baseBonus, int extraBonusDays, int extraBonus) {

        this.includedDays = includedDays;
        this.baseCost = baseCost;
        this.costPerDay = costPerDay;
        this.baseBonus = baseBonus;
        this.extraBonusDays = extraBonusDays;
        this.extraBonus = extraBonus;
    }

    public int getIncludedDays() {
        return includedDays;
    }

    public double getBaseCost() {
        return baseCost;
    }

    public double getCostPerDay() {
        return costPerDay;
    }

    public int getBaseBonus() {
        return baseBonus;
    }

    public int getExtraBonusDays() {
        return extraBonusDays;
    }

    public int getExtraBonus() {
        return extraBonus;
    }
} 